package org.angelica.modules.account.form;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author aizhimin
 */
@Data
@Builder
public class AccRoleUpdateForm {

    @NotNull
    private Long id;
    @NotBlank
    private String roleName;
    @NotBlank
    private String roleDesc;
    @NotEmpty
    private String[] perms;
}
